package ve.usb.ddp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class FPaiProrrogaBuscar extends org.apache.struts.action.ActionForm {
    
    
    public FPaiProrrogaBuscar() {
        super();
        otorgado = "";

    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        otorgado = "";

    }

    public static FPaiProrrogaBuscar clear(ActionMapping mapping, HttpServletRequest request) {
        HttpSession sess = request.getSession();
        FPaiProrrogaBuscar fFPaiProrrogaBuscar = (FPaiProrrogaBuscar) sess.getAttribute("FPaiProrrogaBuscar");
        if (fFPaiProrrogaBuscar == null) {
            fFPaiProrrogaBuscar = new FPaiProrrogaBuscar();
            sess.setAttribute("FPaiProrrogaBuscar", fFPaiProrrogaBuscar);
        } else {
            fFPaiProrrogaBuscar.reset(mapping, request);
        }
        return fFPaiProrrogaBuscar;
    }

//    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
//        ActionErrors errors = new ActionErrors();
//
//        return errors;
//    }

/**
     * Holds value of property otorgado.
     */
    private String otorgado;

    /**
     * Getter for property otorgado.
     * @return Value of property otorgado.
     */
    public String getOtorgado() {
        return this.otorgado;
    }

    /**
     * Setter for property otorgado.
     * @param otorgado New value of property otorgado.
     */
    public void setOtorgado(String otorgado) {
        this.otorgado = otorgado;
    }




}